/**
 * 测试首页
 * */
define(function(require,exports,module){
    var template = require("js/lib/template.js");

    require("css/page.css");
    var sTpl = require("templates/page.html");

    var Category = function(){
        this.init.apply(this,arguments);
    };

    Category.prototype = {
         /** 构造函数 */
        constructor: Category,
        /*默认的配置*/
        options:{
            
        },
        init:function(options){
           var t = this;
           this.options = $.extend({},t.options,options);
           $("#main_wrap").html(sTpl);

           t.options.a && $("#page_wrap").html("参数a:"+t.options.a+",b:"+t.options.b+",c:"+t.options.c);
            
        }
    };

    module.exports =  Category;

});
